package com.jwdf.uda.event;

import android.view.View;

import com.jwdf.uda.bean.PbBean;
import com.jwdf.uda.utils.EventBusUtil;

/**
 * Created by Administrator on 2016/9/13.
 */
public class QuizDetailEvent implements EventBusUtil.IEvent{
    public static final int EVENT_ADD_CONCERN = 0x1;
    public static final int EVENT_CANCEL_CONCERN = 0x2;
    public static final int EVENT_TAB_REPLY=0x3;
    public static final int EVENT_TAB_VOTE=0x4;
    public static final int EVENT_REFRESH_VOTE=0x5;
    public static final int EVENT_SHOW_DROP_MENU=0x6;
    public static final int EVENT_USER_TAKE_VOTE=0x7;
    public static final int EVENT_USER_RE_TAKE_VOTE=0x8;
    public static final int EVENT_VOTE_CANCELED=0x9;
    public static final int EVENT_QUIZ_REPLY_ADD=0x10;
    public static final int EVENT_QUIZ_REPLY_DEL=0x11;
    public static final int EVENT_QUIZ_REPLY_EDIT=0x12;
    public static final int EVENT_DO_SORT=0x13;
    private int event;
    public int count;
    private String sortType;
    public View anchor;
    public PbBean.PbSignBaseVoteOptionType optionId;
    public PbBean.PbSignBaseVoteOptionType reOptionId;
    public QuizDetailEvent(int event){
        this.event = event;
    }

    public QuizDetailEvent(int event,String sortType){
        this(event);
        this.sortType=sortType;
    }
    public int getEvent(){
        return event;
    }

    public String getSortType() {
        return sortType;
    }
}
